package day05;

public class Person {
    //    成员属性
    String name="春";
    int age=18;
    char sex='女';
    int money=23;
    public Person(String name, int age, char sex, int money) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.money = money;
    }
    public Person(){
        System.out.println("空参" );
    }
    public void  myself(){
        System.out.println("大家好,我是"+this.name);
        System.out.println("今年"+this.age+"岁");
        System.out.println("性别"+sex);
        System.out.println("身上"+this.money+"块");
    }
}
